package com.client.entity;

import com.porm.framework.annotation.Column;
import com.porm.framework.annotation.Id;
import com.porm.framework.annotation.Table;

/**
 * User
 *
 * @author humdeef
 * @date 2018/11/12
 */
@Table(name = "user")
public class User {
    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "u_name")
    private String name;

    @Column(name = "u_age")
    private Integer age;

    @Column(name = "sex")
    private Integer sex;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}
